import os
from dotenv import load_dotenv

# 加载 .env 文件
load_dotenv()

# 配置项
class Config:
    # API 配置
    API_KEY = os.getenv('DEEPSEEK_API_KEY', '')
    API_URL = os.getenv('DEEPSEEK_API_URL', 'https://api.deepseek.com/v1/chat/completions')
    MODEL = os.getenv('DEEPSEEK_MODEL', 'google/gemini-2.0-flash-thinking-exp:free')
    # 数据库配置
    DB_PATH = os.getenv('DB_PATH', 'shopify_posts.db')